[index]

TextHeight Property

Syntax

For the text tool:
set the textHeight to <height> For objects: set the textHeight of <object> to <height> Applies to buttons, datasheets, fields, groups, picklists, datasheets, shapes, the text tool (global)

Description

The textHeight property determines the vertical space for each line of text typed into an object or of text typed at an insertion point selected with the text tool. You can use the textHeight to specify the leading in a particular field.

Notes

In general, a text block's textHeight is automatically calculated whenever its textSize is set. Explicitly setting its textHeight will override this default textHeight. To return to the default textHeight, use the command: set the textHeight of field 1 to empty

Examples

To see the effect of changing the textHeight, go to a blank card and create a field named "test". Type some text into the field. Now, go to the Message Box and type the following and press Enter: set the textHeight of field "test" to 30
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.